﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<meta name="renderer" content="webkit"> 
 
<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<TITLE>小学生阅读跟踪评价平台|登录页面</TITLE> 
    <script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
     <link href="__CSS__/Font-Awesome-master/css/font-awesome.min.css" rel="stylesheet">

<STYLE>
body{
    background: #ebebeb;
    font-family: "Helvetica Neue","Hiragino Sans GB","Microsoft YaHei","\9ED1\4F53",Arial,sans-serif;
    color: #222;
    font-size: 12px;
}
*{padding: 0px;margin: 0px;}
.top_div{
    background: #008ead;
    width: 100%;
    height: 350px;
}
.ipt{
    border: 1px solid #d3d3d3;
    padding: 10px 10px;
    width: 290px;
    border-radius: 4px;
    padding-left: 35px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
}
.ipt:focus{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
}
.u_logo{
   // background: url("__IMG__/password.png") no-repeat;
    position: absolute;
    top: 43px;
    left: 45px;

}
.p_logo{
    //background: url("__IMG__/password.png") no-repeat;

    position: absolute;
    top: 12px;
    left: 45px;
}
.y_logo{
    //background: url("__IMG__/password.png") no-repeat;

    position: absolute;
    top: 12px;
    left: 45px;
}

a{
    text-decoration: none;
}
.tou{
    background: url("__IMG__/tou.png") no-repeat;
    width: 97px;
    height: 92px;
    position: absolute;
    top: -87px;
    left: 140px;
}
.left_hand{
    background: url("__IMG__/left_hand.png") no-repeat;
    width: 32px;
    height: 37px;
    position: absolute;
    top: -38px;
    left: 150px;
}
.right_hand{
    background: url("__IMG__/right_hand.png") no-repeat;
    width: 32px;
    height: 37px;
    position: absolute;
    top: -38px;
    right: -64px;
}
.initial_left_hand{
    background: url("__IMG__/hand.png") no-repeat;
    width: 30px;
    height: 20px;
    position: absolute;
    top: -12px;
    left: 100px;
}
.initial_right_hand{
    background: url("__IMG__/hand.png") no-repeat;
    width: 30px;
    height: 20px;
    position: absolute;
    top: -12px;
    right: -112px;
}
.left_handing{
    background: url("__IMG__/left-handing.png") no-repeat;
    width: 30px;
    height: 20px;
    position: absolute;
    top: -24px;
    left: 139px;
}
.right_handinging{
    background: url("__IMG__/right_handing.png") no-repeat;
    width: 30px;
    height: 20px;
    position: absolute;
    top: -21px;
    left: 210px;
}

</STYLE>
     
<SCRIPT type="text/javascript">
$(function(){
    //得到焦点
    $("#password").focus(function(){
        $("#left_hand").animate({
            left: "150",
            top: " -38"
        },{step: function(){
            if(parseInt($("#left_hand").css("left"))>140){
                $("#left_hand").attr("class","left_hand");
            }
        }}, 2000);
        $("#right_hand").animate({
            right: "-64",
            top: "-38px"
        },{step: function(){
            if(parseInt($("#right_hand").css("right"))> -70){
                $("#right_hand").attr("class","right_hand");
            }
        }}, 2000);
    });
    //失去焦点
    $("#password").blur(function(){
        $("#left_hand").attr("class","initial_left_hand");
        $("#left_hand").attr("style","left:100px;top:-12px;");
        $("#right_hand").attr("class","initial_right_hand");
        $("#right_hand").attr("style","right:-112px;top:-12px");
    });
});
</SCRIPT>
 
<META name="GENERATOR" content="MSHTML 11.00.9600.17496"></HEAD> 
<BODY>
<!--[if lte IE 8]>
	<div id="warn-info">
		<h3 style="text-align:center">您的浏览器版本过低，部分操作可能无响应，强烈建议使用<a href="http://www.firefox.com.cn/" style="color:red;">火狐浏览器</a></h3>
		<script type="text/javascript">window.location.href="{:U('public/download')}";</script>
	</div>
	<![endif]-->
<form class="login-form" action="__SELF__" method="post">
<div class="top_div">
    <h1 style="text-align:center;padding-top:103px;color:white">小学生阅读跟踪评价平台</h1>
</div>
<div style="background: rgb(255, 255, 255); margin: -100px auto auto; border: 1px solid rgb(231, 231, 231); border-image: none; width: 400px; height: 310px; text-align: center;">
    <div style="width: 165px; height: 96px; position: absolute;">
        <div class="tou">

        </div>
        <div class="initial_left_hand" id="left_hand">

        </div>
        <div class="initial_right_hand" id="right_hand">

        </div>
    </div>
    <P style="padding: 30px 0px 10px; position: relative;">
        <span class="u_logo"><i class="fa fa-user fa-lg"></i></span>
        <!-- <INPUT class="ipt" type="text" placeholder="请输入用户名" value=""> -->
        <input type="text" id="inputEmail" class="ipt" placeholder="请输入用户名"  ajaxurl="/member/checkUserNameUnique.html" errormsg="请填写1-16位用户名" nullmsg="请填写用户名" datatype="*1-16" value="" name="username">
        
    </P>
    <P style="padding: 0px 0px 10px;position: relative;">
        <span class="p_logo"><i class="fa fa-asterisk fa-lg" ></i></span>
        <!-- <INPUT class="ipt" id="password" type="password" placeholder="请输入密码" value=""> -->
        <input type="password" id="password"  class="ipt" placeholder="请输入密码"  errormsg="密码为6-20位" nullmsg="请填写密码" datatype="*6-20" name="password">
        
    </P>
    <P style="padding: 0px 0px 10px;position: relative;">
        <span class="y_logo"><i class="fa fa-rocket fa-lg"></i></span>
        	
        <input type="text" id="inputPassword" class="ipt" placeholder="请输入验证码"  errormsg="请填写5位验证码" nullmsg="请填写验证码" datatype="*5-5" name="verify">
    </P>
    <P style="position: relative;">
    	<span class="controls">
        	<img class="verifyimg reloadverify" alt="点击切换" src="{:U('verify')}" style="cursor:pointer;">
        	<div class="Validform_checktip" style="height:20px;"></div>
    	</span>
        
    </P>
    
    <div style="height: 60px;border-top-color: rgb(231, 231, 231); border-top-width: 1px; border-top-style: solid;">
        <P style="margin: 5px 45px 20px 45px;">
<button type="submit" class="btn" style="cursor:pointer;width:100px;background: rgb(0, 142, 173); padding: 7px 10px; border-radius: 4px; border: 1px solid rgb(26, 117, 152); border-image: none; color: rgb(255, 255, 255); font-weight: bold;height:35px;">登 陆</button>

        </P>
    </div>
</div>
</form>
<script type="text/javascript">

    	$(document)
	    	.ajaxStart(function(){
	    		$("button:submit").addClass("log-in").attr("disabled", true);
	    	})
	    	.ajaxStop(function(){
	    		$("button:submit").removeClass("log-in").attr("disabled", false);
	    	});


    	$("form").submit(function(){
    		var self = $(this);
    		$.post(self.attr("action"), self.serialize(), success, "json");
    		return false;

    		function success(data){
    			if(data.status){
    				window.location.href = data.url;
    			} else {
    				self.find(".Validform_checktip").text(data.info);
    				//刷新验证码
    				$(".reloadverify").click();
    			}
    		}
    	});

		$(function(){
			var verifyimg = $(".verifyimg").attr("src");
            $(".reloadverify").click(function(){
                if( verifyimg.indexOf('?')>0){
                    $(".verifyimg").attr("src", verifyimg+'&random='+Math.random());
                }else{
                    $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
                }
            });
		});
	</script>
</BODY>
</HTML>